Repository navigation
[BREAKING] Build the Swift demo with Swift Package Manager - #96
Open
jrosendahl-opt wants to merge 1 commit into
Open
jrosendahl-opt wants to merge 1 commit into
jrosendahl-opt wants to merge 1 commit into
Conversation
CocoaPods trunk goes read-only on Dec 2, 2026. The Swift demo now gets OptableSDK as a local package and Google Mobile Ads and PrebidMobile from their SPM repos, pinned in Package.resolved. The demo_swift lane builds the .xcodeproj without pod install. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
CocoaPods trunk goes read-only on Dec 2, 2026. This is part of 2.0.0, which drops CocoaPods (together with #84). Don't merge until 1.4.0, the last CocoaPods release, has shipped.
The demo change itself doesn't affect SDK users. It's marked breaking because it belongs to the 2.0.0 set.
What Changed
[CP]build phases) with SPM packages: OptableSDK as a local package (..), Google Mobile Ads (from 13.11.0) and PrebidMobile (from 3.4.1), the versions thePodfile.lockpinned. RemovedPodfile/Podfile.lock;Package.resolvednow pins the versions.objectVersion54 → 60 for the local package reference.demo_swiftlane builds the.xcodeprojwithoutpod install/pod update.demo-ios-swift/Podsartifact upload..xcodeprojdirectly; CocoaPods steps now apply only to demo-ios-objc..gitignore: removeddemo-ios-swift.xcworkspace.How to Test
xcodebuildof thedemo-ios-swiftscheme for the simulator succeedsbundle exec fastlane demo_swiftsucceedsNotes
Package resolution also pulls in AppLovinSDK, because the Prebid package declares it for its MAX adapters. The demo doesn't link it.
Prebid labels its SPM support beta.
docs/releasing.mdstill describes CocoaPods for both demos. It gets rewritten in the drop-CocoaPods PR.Breaking change
Requires release
🤖 Generated with Claude Code